package com.hzdl.cinema.Service;

import com.hzdl.cinema.domain.Play;
import com.hzdl.cinema.domain.Schedule;
import com.hzdl.cinema.domain.Studio;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public interface ScheduleService {
    Schedule schedule(String playName);

    List<Schedule> seeSchedule();

    Play seePlay(String playId);

    Studio seeStudio(String studioId);
	
	
    List<Schedule> findAllSchedule();

    Schedule findScheduleById(int scheduleId);

    void modifyScheduleById(Schedule schedule);

    void deleteScheduleById(int scheduleId);

    void addSchedule(String playName, String studioName, Date startTime, BigDecimal schedulePrice);

    Integer searchPlayId(String playName);

    Schedule searchSchedule(int playId);
}
